package cc.aiee.chinapay.core.enums;

/**
 * 响应码
 * 
 * @author YangLong<br>
 *         2020-09-29 15:19:38
 */
public enum ChinaPayRespEnum {

	SUCCESS("0000", "成功", 0), APPROVAL("1003", "商户已审核", 2);

	private String code;
	private String msg;
	/**
	 * 状态
	 * <li>0:成功</li>
	 * <li>1:失败</li>
	 * <li>2:中间状态</li>
	 */
	private int status;

	private ChinaPayRespEnum(String code, String msg, int status) {
		this.code = code;
		this.msg = msg;
		this.status = status;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

}
